package kr.hkit.powerjava.homework;

import java.util.Scanner;

public class Programming4 {
	public static void main(String[] args) {
		Scanner AA = new Scanner(System.in);
		int a, b, c;
		System.out.println("정수를 3번 입력 하세요:");
		a = AA.nextInt();
		b = AA.nextInt();
		c = AA.nextInt();

		if (a > b) {
			if (b < c){
				System.out.println("작은수는:"+b);
			}else
				System.out.println("작은수는:"+c);
			
		}else if (a > c){
			System.out.println("작은수는:"+c);
		}else
			System.out.println("작은수는:"+a);
	}
}
